package com.tmt.api.service;

import com.swak.entity.Page;
import com.swak.entity.Parameters;
import com.tmt.api.entity.User;
import com.tmt.api.entity.UserAccount;
import java.lang.Integer;
import java.lang.Long;
import java.lang.String;
import java.lang.Void;
import java.util.List;
import java.util.concurrent.CompletableFuture;

public interface UserServiceAsync {
  CompletableFuture<User> getByAccount(String account);

  CompletableFuture<User> register(UserAccount account);

  CompletableFuture<User> asyncGet(Long id);

  CompletableFuture<User> asyncGet(List<User> users);

  CompletableFuture<User> get(Long arg0);

  CompletableFuture<Page> page(User arg0, Parameters arg1);

  CompletableFuture<User> save(User arg0);

  CompletableFuture<Void> batchSave(List<User> entities);

  CompletableFuture<Integer> delete(User arg0);

  CompletableFuture<Void> batchDelete(List<User> entities);
}
